package tsg.component;

import tsg.laf.LookAndFeel;
import tsg.laf.LookAndFeelManager;
import tsg.layout.HorizontalFlowLayout;
import tsg.layout.LayoutManager;

public class Panel extends Container
{
	/**
	 * 
	 */
	public Panel()
	{
		this(new HorizontalFlowLayout());
	}
	
	
	/**
	 * 
	 * @param layoutManager
	 */
	public Panel(LayoutManager layoutManager)
	{
		super					(layoutManager);
		
		this.setUI				(LookAndFeelManager.getComponentUI	(LookAndFeel.KEY_PANEL_COMPONENTUI));
		this.setBackgroundColor	(LookAndFeelManager.getColor		(LookAndFeel.KEY_PANEL_BACKGROUNDCOLOR));
	}
}
